using System.Runtime.InteropServices;
using System;

namespace Recast
{
	public unsafe partial class RecastGlobal
	{
		[StructLayout(LayoutKind.Sequential)]
		public unsafe partial struct rcHeightPatch : IDisposable
		{
			public ushort* data;
			public int xmin;
			public int ymin;
			public int width;
			public int height;

			public void Dispose()
			{
				rcFree(data);
			}
		}
	}
}
